//
//  TSFindCategoryCollectionCell.m
//  TaShuo
//
//  Created by N-X on 2018/3/19.
//  Copyright © 2018年 MRNAN. All rights reserved.
//  category的item

#import "TSFindCategoryCollectionCell.h"

NSString * const kTsFindCategoryCollectionCellID = @"TSFindCategoryCollectionCell";

@interface TSFindCategoryCollectionCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation TSFindCategoryCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

#pragma mark - setter

- (void)setIconImageUrlStr:(NSString *)iconImageUrlStr
{
    [self.iconImageView nx_setImageWithUrl:iconImageUrlStr placeHolder:nil complete:^(UIImage * image) {
        self.iconImageView.image = image;
    }];
}

- (void)setTitleStr:(NSString *)titleStr
{
    self.titleLabel.text = titleStr;
}

@end
